﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain.Goodss
{
    public class Product
    {
        [Key]
        public int ProductId { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductBath { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ProductDay { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string ProductNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductCompany { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string ProductFig { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatePerson { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdatePerson { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        public DateTime DeleteTime { get; set; } = DateTime.Now;
        public bool IsDelete { get; set; } = false;


    }
}
